package me.exchange.com.modules.system.dto;

import lombok.Getter;
import lombok.Setter;
import me.exchange.com.annotation.Query;
import me.exchange.com.base.BaseQueryCriteria;
import org.springframework.validation.annotation.Validated;

import java.util.Set;

/**
 * @author zhaojing
 * @create2020/5/23
 */
@Getter
@Setter
public class ScrollQueryCriteria extends BaseQueryCriteria {

    private Long id;

    @Query
    private Boolean enabled;

    @Query(type = Query.Type.IN,propName = "id")
    private Set<Long> ids;

    @Query(blurry = "scrollName,adress")
    private String brully;
}
